/**
 * 
 */
package controlPlane;

import events.*;

/**
 * @author alissonslp
 *
 */
public class MyIntradomainControlPlane implements IntradomainControlPlane{

	private static MyIntradomainControlPlane singletonObject;
	
	public MyIntradomainControlPlane() {
		
	}
	/**
	 * 
	 */
	public void handle(Event event) {
		
		//if(event instanceof CreateMultidomainLightpath) {
			
		//} else if(event instanceof DestroyMultidomainLightpath) {
			
		//s} //else if(event instanceof CreateMultidomainLightpath) {
			
		//} else if(event instanceof DestroyMultidomainLightpath) {
		
		//} else {
			
		//}
	}
	/**	 */
	public int releaseResources() {
		return 0;
	}
	
	/**	 */
	public int reserveResources() {
		return 0;
	}
	
	/**	 */
	public int createIntradomainLightpath() {
		return 0;
	}
	
	/**	 */
	public void destroyIntradomainLightpathEvent() {
		
	}
	
	public static synchronized IntradomainControlPlane getInstance() {
		if (singletonObject == null) 
    		singletonObject = new MyIntradomainControlPlane();
    	return(singletonObject);
	}
}
